package com.thx.addressbook.view;



public class AddressbookRoleView implements java.io.Serializable {

  // Fields
  private Long id;

  private Long parentId;

  private Long enterpriseId;

  private String parentType;

  private Long objId;

  private String objType;

  private String role;

  // Constructors

  /** default constructor */
  public AddressbookRoleView() {}

  /** minimal constructor */
  public AddressbookRoleView(Long id) {
    this.id = id;
  }

  /** full constructor */
  public AddressbookRoleView(Long id, Long enterpriseId, Long parentId, String parentType,
      Long objId, String objType, String role) {
    this.enterpriseId = enterpriseId;
    this.id = id;
    this.parentId = parentId;
    this.parentType = parentType;
    this.objId = objId;
    this.objType = objType;
    this.role = role;
  }

  // Property accessors

  public Long getId() {
    return this.id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getParentId() {
    return this.parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }

  public String getParentType() {
    return this.parentType;
  }

  public void setParentType(String parentType) {
    this.parentType = parentType;
  }

  public Long getObjId() {
    return this.objId;
  }

  public void setObjId(Long objId) {
    this.objId = objId;
  }

  public String getObjType() {
    return this.objType;
  }

  public void setObjType(String objType) {
    this.objType = objType;
  }

  public String getRole() {
    return this.role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public Long getEnterpriseId() {
    return enterpriseId;
  }

  public void setEnterpriseId(Long enterpriseId) {
    this.enterpriseId = enterpriseId;
  }

}
